<template>
  <div>
    <h2 class="demo">姓名：{{ name }}</h2>
    <h2>age:{{ age }}</h2>
  </div>
</template>



<script>

    export default {
        name:'My',
        data(){
            return {
                name:'张三',
                age:20
            }
        },

    }
</script>

<style scoped>
  .demo{
    color: green;
  }
</style>
